package com.dd.cloud.user.req.classroom;

import com.dd.cloud.common.annotate.validation.Desc;
import com.dd.cloud.common.annotate.validation.Name;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 编辑
 * </p>
 *
 * @author czg
 * @since 2022-04-27
 */
@Data
public class UpdateMediaClassifyReq implements Serializable {

    private static final long serialVersionUID=1L;

    @NotNull(message = "类型id不能为空")
    private Integer id;
    /**
     * 小节分类
     */
    @Name(begin = "类型名称")
    private String classify;

    /**
     * 主题
     */
    @Desc(begin = "备注", required = false)
    private String remarks;


}
